#ifndef ORDERWINDOW_H
#define ORDERWINDOW_H

#include <QWidget>
#include "FoodOrder.h"
#include "FoodOrderTable.h"

namespace Ui {
class OrderWindow;
}

class OrderWindow : public QWidget
{
    Q_OBJECT

public:
    explicit OrderWindow(QWidget *parent = nullptr);
    ~OrderWindow();
    void init(FoodOrder foodOrder);

signals:
    void dataChange();

private slots:
    void on_finish_btn_clicked();

private:
    Ui::OrderWindow *ui;
};

#endif // ORDERWINDOW_H
